package com.fate.system.task;

import lombok.extern.slf4j.Slf4j;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.time.LocalDate;

@Slf4j
public class SampleTask implements Job {
  @Override
  public void execute(JobExecutionContext jobExecutionContext) {
    log.info(String.format("普通定时任务 SampleJob !  时间:" + LocalDate.now()));
  }
}
